<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{:$i->title}</title>
<link href="{:$smarty.const.PUBLIC_DIR}/common/style/admin.css" rel="stylesheet" type="text/css" />
<style type="text/css">
th {text-align:right; width:100px;}
td {text-align:left;}
</style>
</head>
<body>
<div class="wrapper">
  <div class="title shadow titleBg">
    <table width="100%" border="0" cellspacing="1">
      <tr>
        <td><h1> {:$i->title} => {:if $i->p[0] eq "mod"}修改{:elseif $i->p[0] eq "add"}添加{:/if} </h1></td>
      </tr>
    </table>
  </div>
  <div class="content shadow">
    <form>
      <table width="100%" border="0" cellspacing="1">
        <tr>
          <th>名　　称：</th>
          <td><input name="name" type="text" size="20" id="name" value="" class="posted check" /></td>
        </tr>
        <tr>
          <th>版　　本：</th>
          <td><input name="version" type="text" size="20" id="version" value="" class="posted check" /> (如:1.0.0)</td>
        </tr>
        <tr>
          <th>作　　者：</th>
          <td>
          <input name="author" type="text" size="20" id="author" value="" class="posted check" /></td>
        </tr><tr>
          <th>Email/QQ：</th>
          <td>
          <input name="contact" type="text" size="20" id="contact" value="" class="posted" />
          </td>
        </tr>
        <tr>
          <th>使用说明：</th>
          <td><textarea name="info" cols="60" rows="10" id="info" class="posted check"></textarea></td>
        </tr><tr>
          <th>安装SQL：</th>
          <td><textarea name="inSql" cols="60" rows="10" id="inSql" class="posted"></textarea></td>
        </tr> <tr>
          <th>卸载SQL：</th>
          <td><textarea name="unSql" cols="60" rows="10" id="unSql" class="posted"></textarea></td>
        </tr> <tr>
          <th>文件列表：</th>
          <td><textarea name="fileList" cols="60" rows="10" id="fileList" class="posted check"></textarea></td>
        </tr>
        <tr>
          <th>&nbsp;</th>
          <td><input type="submit" value=" 提 交 " />
            &nbsp;
            <input type="reset" value=" 重 置 " />          </td>
        </tr>
      </table>
    </form>
  </div>
</div>
<link href="{:$smarty.const.PUBLIC_DIR}/common/style/ui.all.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="{:$smarty.const.PUBLIC_DIR}/common/js/jquery-1.4.2.min.js"></script>
<script language="javascript" type="text/javascript" src="{:$smarty.const.PUBLIC_DIR}/common/js/jquery.tools.min.js"></script>
<script language="javascript" type="text/javascript" src="{:$smarty.const.PUBLIC_DIR}/common/js/ui.core.js"></script>
<script language="javascript" type="text/javascript" src="{:$smarty.const.PUBLIC_DIR}/common/js/ui.draggable.js"></script>
<script language="javascript" type="text/javascript" src="{:$smarty.const.PUBLIC_DIR}/common/js/ui.dialog.js"></script>
<script language="javascript" type="text/javascript" src="{:$smarty.const.PUBLIC_DIR}/common/js/ui.datepicker.js"></script>
<script language="javascript" type="text/javascript" src="{:$smarty.const.PUBLIC_DIR}/common/js/jquery.post.js"></script>
<script language="javascript" type="text/javascript">
$(document).ready(function(){
	$(".helpTip").tooltip().dynamic();
	$("form").post({
		sendUrl:'{:$smarty.const.BOOT_URL}/{:$i->c}/{:$i->m}/insert',
		goUrl:'{:$smarty.const.BOOT_URL}/{:$i->c}/index',
		stayTime: 1000000
	});
});
</script>
</body>
</html>
